class Chapter {
  int number;
  String title;
  int price;

  Chapter({this.number, this.title, this.price});

  factory Chapter.fromJson(Map<String, dynamic> json) {
    return new Chapter(
      number: json['number'],
      title: json['title'],
      price: json['price']
    );
  }
}